<?php
include("../inc/global.inc");
include("city.inc");
include("../inc/fun.php");
$thepage=$_GET['page']?$_GET['page']:1;
$maxpage=20;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$cityname?>招聘网-<?=$cityname?>人才网-<?=$cityname?>招聘信息-<?=$cityname?>人才信息-三帝招聘网</title>
<meta name="description" content="三帝招聘网最专业的<?=$cityname?>人才网,<?=$cityname?>人才市场,<?=$cityname?>招聘网,<?=$cityname?>招聘信息,免费招聘人才信息,三帝招聘网是<?=$cityname?>人力资源招聘最佳的选择。">
<meta name="keywords" content="<?=$cityname?>招聘网,<?=$cityname?>招聘求职,<?=$cityname?>人才网,<?=$cityname?>人才市场,<?=$cityname?>招聘信息,免费招聘网,免费人才网,三帝招聘网" />
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/link.css" rel="stylesheet" type="text/css" />
<link href="/css/head1.css" rel="stylesheet" type="text/css" />
<link href="/css/class_main.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<SCRIPT src="/js/city.js" type="text/javascript" charset="gb2312"></SCRIPT>
</head>
<body>
<?php include("top.php"); ?>
<div class="pagetxt">
 您所在的位置：<a href="/">三帝招聘网</a> >> 招聘 >> <?=$cityname?>招聘网
<div class="onl"></div>
</div>
<div id="mian" style="clear: both;margin-top: 20px;margin-bottom: 20px;" class="side" align="center">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<div id="mian">
    <div class="leftmain">
        <div class="left sideblue">
        <div class="title5"><h3>招聘向导</h3></div>
        <div class="classlist downside">
        <?php
        $rs=mysql_query("select * from job_news_type where job_t_id=0 order by id asc");
        while($row=mysql_fetch_array($rs)){
        ?>
        <a href="/article/<?=$row['id']?>/1.cfm"><?=$row[job_t_name]?></a><?php }?>
        <div class="onl"></div>
        </div>
        <div class="onl"></div>
        <br />
        <div class="topside20 downside20 side " align="center">
        <script type="text/javascript">/*200*200，招聘首页 创建于2011-9-5*/ var cpro_id = 'u601408';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
        </div>
        <br />
        <?php
        $rs=mysql_query("select * from job_news_type where job_t_id=0 order by id desc");
        while($row=mysql_fetch_array($rs)){
        ?>
        <h1><span><a href="/article/<?=$row['id']?>/1.cfm">>>更多</a></span><?=$row[job_t_name]?></h1>
        <div class="RtInfo4">
        <div class="div_3">
        <ul>
          <?php $rs2=mysql_query("select * from job_news where type_id='".$row['id']."' and n_sh=1 order by n_tj desc,id desc limit 6");
                while($row2=mysql_fetch_array($rs2)){
          ?>
          <li><?php if($row2[type_id]==43){?><span>[<?=date("m-d",strtotime($row2[news_time]))?>]</span><?php }?><a href="/jobinfo/<?=$row2['id']?>.cfm" class="link_1" target="_blank"><?=mb_substr($row2[news_title],'0','16','utf-8')?></a></li>
          <?php }?>
        </ul>
        </div>
        </div>
        <?php }?>
        </div>
    </div>
    <div id="box">
    	<div class="right_a" style="margin-top:0px;">
		         <div class="a_bt"><div class="t2"><span>城市导航</span></div></div>
                 <div class="sc">
              <?php $city_rs=mysql_query("select * from city where city_id=".$c_row['id']);
				while($city_row=mysql_fetch_array($city_rs)){
				?> 
    <a href="/job-city<?=$c_row[id]?>-c<?=$city_row[id]?>.html" <?php if($_GET[cid]==$city_row[id]){echo "style='color:red'";}?>><?=$city_row[city_name]?></a> 
				<?php }?>                          	   
                   <div class="clear"></div>
         		</div>	              
		</div>
        <?php unset($city_row);if($_cid){?>
        <div class="right_a" style="margin-top:0px;">
		         <div class="a_bt"><div class="t2"><span>地区导航</span></div></div>
                 <div class="sc">
              <?php $city_rs=mysql_query("select * from city where city_id=".$_cid);
				while($city_row=mysql_fetch_array($city_rs)){
				?> 
    <a href="/job-city<?=$c_row[id]?>-c<?=$_cid?>-q<?=$city_row[id]?>.html" <?php if($_GET[qid]==$city_row[id]){echo "style='color:red'";}?>><?=$city_row[city_name]?></a> 
				<?php }?>                       	   
                   <div class="clear"></div>
         		</div>	              
		</div>
        <?php }?>
        <div class="JobBox sideblue">
            <div class="title5"><h3>名企招聘</h3></div>
            <div style="clear: both;margin-top: 10px;margin-bottom: 10px;" align="center">
            <script type="text/javascript"><!--
            google_ad_client = "pub-2924453545159453";
            /* 728x90, 创建于 11-9-7 */
            google_ad_slot = "8124456888";
            google_ad_width = 728;
            google_ad_height = 90;
            //-->
            </script>
            <script type="text/javascript"
            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
            </div>
            <div class="mian_ad">
            <?php 
            $rs=mysql_query("select * from member where m_mode=1 and m_city='$c_row[id]' and c_logo<>0 and m_sh='1' order by id desc limit 21");
            while($row=mysql_fetch_array($rs)){
            if($row[m_type]==6){
               $m_url="http://$row[m_user].sandib2b.cn";
            }else{
               $m_url="http://job.sandib2b.cn/jobcom/$row[m_user]/";
            }
            ?>
            <div class="mian_adBox"><span><a href="<?=$m_url?>" target="_blank"><img src="http://www.sandib2b.cn/upfile/<?=$row[c_logo]?>" alt="<?=$row['m_cname']?>" border="0" align="absmiddle" <?=imgstr("http://www.sandib2b.cn/upfile/$row[c_logo]","180","60")?> /></a></span></div>
            <?php }?>
            <div class="onl"></div>
            </div>
        </div>
    	<div class="onl"></div>
        <div class="right_a">
                <div class="a_bt"><div class="t2"> <span>招聘职位</span></div></div> 
                <div class="mian_Coj">
<?php
$i=1;
$where = 'where job_sh=1 ';
if($_pid)
{
	$where .= 'and job_pro_id='.$_pid;
}
if($_cid)
{
	$where .= ' and job_city_id='.$_cid;
}
if($_qid)
{
	$where .= ' and job_dq_id='.$_qid;
}
$rsjob=mysql_query("select id,job_class,job_salary,job_pro_id,job_city,job_dq,job_edu,job_addtime from job_post ".$where." order by job_addtime desc limit ".($thepage-1)*$maxpage.",$maxpage");
while($rowjob=mysql_fetch_array($rsjob)){
?>
                  <div class="mian_CoBoxj">
                             <div class="temj">招聘职位：<span><?=$rowjob['job_class']?></span></div>
                             <div class="temj">
                                <div class="tem1">薪金范围：<span><?=job_salary($rowjob['job_salary'])?></span></div>
                                <div class="tem2">发布时间：<span><?=date("Y-m-d",strtotime($rowjob['job_addtime']))?></span></div>
                             </div> 	
                            <div class="temj">
                               <div class="tem1">工作地点：<span style="color:#FF0000"><?=$rowjob['job_city']?>/<?=$rowjob['job_dq']?></span></div> 							
                               <div class="tem2">学历要求：<span><?=job_edu($rowjob['job_edu'])?></span></div>
                            </div>   
                             <a href="http://job.sandib2b.cn/jobpost/<?=$rowjob['id']?>.cfm" target="_blank"><img src="images/xiangxi.gif" /></a> 		 
                  </div>
                  
<?php 
if($i%2==0){echo '<div class="clear"></div>';}
$i++;
}
$rs2=mysql_query("select count(id) from job_post ".$where);
$totalrecord=mysql_result($rs2,0);
mysql_free_result($rs2);
$totalpage=ceil($totalrecord/$maxpage);
?>                  
                  <div class="onl"></div>
                </div>
                
		</div>
        <div class="onl"></div>
        <div class="JobBox sideblue">
            <div style="margin-top: 10px;margin-bottom: 10px;" align="center">
            <script type="text/javascript"><!--
            google_ad_client = "pub-2924453545159453";
            /* 728x90, 创建于 11-9-7 */
            google_ad_slot = "8124456888";
            google_ad_width = 728;
            google_ad_height = 90;
            //-->
            </script>
            <script type="text/javascript"
            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
            </div>
        </div>
    </div>
    <div class="onl"></div>
    <div style="margin-top:15px;">
    <script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
    </div>
</div>
<?php include("../inc/foot.php"); ?>
</body>
</html>
<script type="text/javascript">/*120*270，创建于2011-3-23*/ var cpro_id = 'u419785';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>
